package com.szrt.mybatis.department.entity;

import com.szrt.mybatis.manager.ManagerEntity;

/**
 *  规则：在entity这个类中一定要写注释
 *
 */
public class DepartmentEntity {
	
	/**
	 * 部门id
	 */
	private Integer id; 
	
	/**
	 * 部门名称
	 */
	private String departmentName;
	
	/**
	 * 删除标记  "1"表示正常数据   "0"表示已经删除的数据
	 */
	private String isDelete;
	
	
	/**
	 * 1对1的关系这样处理
	 * @return
	 */
	
	
	
	
	
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	public DepartmentEntity(String departmentName) {
		super();
		this.departmentName = departmentName;
	}
	public DepartmentEntity() {
		super();
	}
	public DepartmentEntity(Integer id, String departmentName, String isDelete) {
		super();
		this.id = id;
		this.departmentName = departmentName;
		this.isDelete = isDelete;
	}
	
	
	
	
	public DepartmentEntity(Integer id, String departmentName) {
		super();
		this.id = id;
		this.departmentName = departmentName;
	}
	public DepartmentEntity(String departmentName, String isDelete) {
		super();
		this.departmentName = departmentName;
		this.isDelete = isDelete;
	}
	
	
	
	
	
	
	
	
	
}
